package com.xindaoapp.happypet.bean;

import java.io.Serializable;
import java.util.List;

public class Groups extends BaseEntity implements Serializable {
    public List<Group> array;

    public Groups() {
        super();
    }

    public static class Group {
        public Group(String fid, String name, String membernum, String ico, String type) {
            super();
            this.fid = fid;
            this.name = name;
            this.membernum = membernum;
            this.ico = ico;
            this.type = type;
        }

        public Group(String fid, String name, String membernum, String ico) {
            super();
            this.fid = fid;
            this.name = name;
            this.membernum = membernum;
            this.ico = ico;
            this.type = "group";
        }

        public Group() {}

        public String isjoin;
        public String fid;
        public String name;
        public String membernum;
        public String ico;
        public String type;

        @Override
        public String toString() {
            return "Group [isjoin=" + isjoin + ", fid=" + fid + ", name=" + name + ", membernum="
                    + membernum + ", ico=" + ico + ", type=" + type + "]";
        }

    }

    public Groups(List<Group> array) {
        super();
        this.array = array;
    }


}
